Revised and improved documentation