Adds missing imports to twophase student reg.