Java like properties implementation in Python.