DOC: rewritten documentation to data types