Reflection fixes

This PR fixes the brain-dead mistakes I made in #438 and also fixes a deadlocking RegisterAsync test