Fixed some inheritance errors with interfaces.