Why aren't the contents of this method just in loadSchema?