Self-documenting environments