Fix compatibility with play-functional