Removed obsolote extends which caused an error