Added missing methods and documentation.