Changed kind to type