Added check on ensure that funcitons exist in Cherry_Sidebar class