Remove unused code from Timeline plugin