Fix friendlist implementation.