commit class.