Make sending code optional