Improve rendering of activities.