Added destructor to unregister method in annabelle core. modified design method to return design_package