refactoring: remove the dangerous ordinal() dependency of the loaders