Add some methods to control and add some documentation