Container won't overwrite existing attributes when injecting