Change primitives to use the getWrappedFactory() method