Added documentation on methods, and examples on them