Removing property from the factory class