Made send function protected.