Deleted deprecated Api class