Implement 'limit'.
Merge pull request #64 from hesselink/implement-limit

Implement 'limit'.