Add starting_after and ending_before as methods to resources