In general, it's better Scala style to use proper pattern matching, instead of type tests. Any particular reason to prefer this style?