Began refining function argument checking in send function.