Added missing types and updated documentation.