Code cleanup. Replace CollectionUtils with lodash. Add console log.