Tagging: added lowercasing to all type array keys.