Support for manual instantiation.