Add get and dget functions