remove this null check since the DI will never inject null due to earlier suggestions.