Reordered type processing to allow alteration of previously defined types.
Merge pull request #2 from TallerWebSolutions/fs/type-alter

Add type alter capability to type hook. Thanks @lucasconstantino!