Nearly 400 religious figures from 35 countries call for an end to therapies aimed at helping homosexuals convert to heterosexuality