Hide getter/setter from SWIG as well.

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>