Remove unnecessary `extends`.