Add base class for margarine.