Simplify internal implementation of od pairs and links loader methods.