Nag-check implementation

Fixes #4.