add maximumUid support
Merge pull request #26 from a17r/master

add maximumUid support. Fixes #25.