added 'type' option and bumped to version 0.4.0