Fixed bug in kind_by_extension and added ability to remove content