Added documentation to the sample controllers.