Restore original avatarUrl function... moved to a plugin.