Add animate and trigger functions.