Issue #2165475 by damiankloip, dawehner, martin107, tim.plunkett, jibran, xjm, Jalandhar: Provide a generic class resolver.