Add module-level setter method for principals