Better parameter name
Assert that handler is not nil

This is to prevent errors later on that could be caught earlier.
Fixes #14