I dont recommend this change. Not specifying the type and letting scala compiler figure it, is the usual scala way of doing things.