Workarounds to satisfy static checker.