Removed helper funcs and added check-type dep for checking args
1.1.8