Lint style.
Removed debug print.
Bugfixes.
Added methods for maintainer and admin checks.