Add convenience method to cast assembly to component factory