Throw if illegal callback is given to 'listenTo'.