Added some extra documentation and print and debug methods.