added context & fixed names
Automatically rewritten for npm.