Dev First working version of custom relevance.