Added dispatch procedure implementation.