Fixes #630, clarify onload function passed to plugin's load method.