Minor grammar fix in docs
Removed duplication
extracted variables to methods
Merge pull request #1075 from Ortuna/loader-refactor

Refactor and grammar changes to loader.rb