Use the type and Class.forName() for dispatch