Added initial animation and states support.