Implement setting of animation mode via field.
Fix inheritance bug.