Internal implementation of user interface classes.