Failing build: switch from typeclass to record for play logic container