Add support for JSMessagesViewAvatarPolicyCustom and JSMessagesViewSubtitlePolicyCustom