Bug fix: Class attribute inheritance.