Fix functions not working without semicolon at the end.