Was added there as this is done similar with the cron tasks. I don't have a problem with moving it to avatars.yml though.