Improved require speed by using a hash.