Made RelatedManager.__call__ compatible with templates.