add ability to add external-types by comments
Merge remote-tracking branch 'remotes/origin/add_types_by_comments'