Initialise similarity properly.