python: Add properties to wrapped object.