Specify return type of Pretty.apply explicitly

scalac may infer the return type of `Pretty.apply` as an implementation of `Pretty` such as `AnyRef with Pretty`.