Updated inline documentation and custom header feature implementation