Fixed example code compile error
Add 'use Caroline' to make the example more complete