Helpers initial commit - typeOf, toArray, extend