Using getters for retrieving injected parameters