Removed addProtocol method from factory and replaced it with a shortcuit