This brings support for a jQuery-style events map object being passed in as well.