Cleaned up unnecessary directives and animations.