Fixes some strict mode errors created by improper use of late static binding