Get rid of asInstanceOf in play-functional
Merge pull request #2114 from julienrf/functional/typing-stuff

Get rid of asInstanceOf in play-functional