Add sign structure. Minor updates for permission handler.