Move the bug info into a Bug class.