The intended behavior is that subclasses would take priority. I'm placing new handlers at the front of the array, so the last handler to be added would get matched first.