Adding support for LIMIT statements