Javadoc and improved method modifier in the TaskActivity.