Fix variable names.
Inherit buffer setting from parent.