removing remaining inherits