Runtime instance factory.