Converted dependency to use a public access method