Removed the wrong inheritance