Minor compilation fixes to ais classes