shorten getter/setter function definitions