Added limit and cursor options to #list().