[fix] Support getters and setters