Remove deprecated features.

This disables the ``FACTORY_FOR`` syntax and related parameters,
that should be declared through ``class Meta``.