Added documentation. Put the Recommendation query template inside Scope