GNU GPL v3 header was added.
Avoid using anonymous functions.