Uses nicer syntax to define the function.
Adds changes to CHANGELOG