Allows double dispatching method calls.