added getNamed() for singleton with named constructor