Use only classes extending ContextFactory