Fix bug which stopped anon classes being in a super chain