Add cleanup and version check to Go role.
Update Haskell role to not redefine variables.