Deleted legacy and testing code.