replaced type existence checks with internal function which is bugfree in zsh. fixes #10
mk: unset function only if it exists. fixes #10 (zsh)
0.7.6