Defining handlers for multiple destinations