Normalize callback arguments. Same as shell.
Normalize lastErrorObject
Merge pull request #114 from kapetan/upstream

Normalize callback arguments. Same as shell.