Clean up type parameter for Event idl