Add documentation for loader