Implement Loader method chaining

Requested in issue #2165
Supersedes PR #2319