Fixed a couple of syntax error in the generated headers, as well as implemented the alone mechanism into the Functions struct.