added DERIVED  and EXPORTS annotation to model leaf and SINGLETON annotation to model