Replaced implements with extends.