GetFromDb method added.