Reduced responsibilities of the UI classes.
Fixed permissions.