Added some utility stuff.
Miscellaneous utilities
Added some utilities, and fixed some copyright notices.