Add alternate method for compatibility with old test suite.