Document that on_definition can only be a function, closes #1431
Update CHANGELOG