Cordless grass trimmers