Allow sub-classes of default ranking function
Revert "Allow sub-classes of default ranking function" because it's not needed atm.

This reverts commit 95213b0f025236166f145f3cb5c64ffd64db0430.