Adding an attribute to sphinx