Changes for the new API - Shoebill 1.0