Update getter functions
Added examples in JSDocs