Updated the template to generate EShort to 'int' correctly. This closes
#35.