Added dispatch module for dynamic dispatch of objects.