Moving avatar related code to Tickit\Component\Avatar