Fixed handling of primitive types within dispatches without having to have full type information