Make good use of type inference