You don't need that method.

This is used to ensure backward compatibility with old style configuration. You don't need it as this is a new check that is using new style configuration.