Squash syntax errors, add empty send_function method