Added block methods for animation and made some performance optimizations.