v1.4 made type attribute optional, defaults to True
v 1.4 added option to disable type attributes; cleaned code; tweaked logging; updated readme