Fix inheritance issues, poison cache if attributes change