Fix NameError issues when trying to load serializers referring to other serializers not yet loaded.