Using streams where it is possible.