nit: Use `getCardIndexFrom: function() {}` if this is an empty function.