Fix inheritance issues, poison cache if attributes change
Merge pull request #238 from SamSaffron/fix

fix inheritance issues