added getters/setters for non readonly variables
fixes issue #55 (if the thing does not use readonly properties)