Converted `CustomForeignKeyField` into an importable non-dynamic class