Fixed a casting issue and Microblock trait reference to class path