Document parameters; add "max_entries"