Removed unnecessary semicolons, moved typedefs in Miyagi.m