Some improvements for static analysis

Some things I encountered primarily when working with the `Recoil::*()` API.
Hmm, brain fart. I'll add it.