Fix for issue #68: pass string for type.