add 'type' to keywords