Added some methods to the contributions controller.