Add implementation for get and set