Changed extends into type