Fix permission constructor.