Improve "Writing a Loader" doc

Loader::getSource must return an object. It's not obvious unless you check the source.