Removed wrong inheritances