Refactored documentation