Also add the accessors as methods of the class in the python interface (overload resolution has large runtime overhead)