Parameterize $skip and $top values for better performance.