Fixed unchanged param name from 'kind' to 'type'