Add documentation to ideal.