getters/setters for principals
docstrings