Removed public modifier to injected variables