This and entity_spec() are good candidates for the new seeAlso method, which you can override to return new Class[]{entity_spec.class}; which will add a link to the other function in the documentation page. Also, add this function to entity_spec's seeAlso.