Added get and set functions.