Document creating custom factories.