Changed extends to implements