Add support to gets for optional length limit param.