Document functionality and setup