Fix small bugs with chaining.
Silence unnecessary warnings if we know they're unnecessary.