Add get methods for variable in db