Finish permissions and commands tables.