Added getter for unit testing purpose.