Added compatibility for CB 1.7.8.