support for getters and setters for embedded