#326 Removed deprecated methods in labels class.