Convert Java-like getters and setters to Pythonic properties