Code book improvements.