Simpler way of defining handler functions