Added register functionality to interface, and even more documentation.