Coding style: remove semicolons and declare functions consistently.