Make changes for Maxwell and change ui32 typedef