Removed tests.
Added permission handling for model riffs.
Fixes #2.