Added an animated typing method.