Add missing requires so the code byte-compiles correctly