Fixed bitfield bug and registerViewControllerClass:forFieldClass: method