Move permissions declaration to the constructor.