validate container loader fn argument and error if invalid
Merge remote-tracking branch 'upstream/master'
Merge pull request #5 from quartzjer/master

validate container loader fn argument and error if invalid