Dynamically allocate array of cb variables (issue #19).