I find it helpful in theses PartialFunction cases that the return type is specified.