Add class visibility tests; compile for 1.6 compatibility