Remove (almost) all reflection calls

I removed all the reflection calls, except for the call to .cancel.