Why injecting whole container instead of one param you use ? Also I would prefer to add support for logging instead.