Readded tare function for Yei plugin