Define GETTER helper macro

To save typing, and increase coding consistency.