Remove some unnecessary properties on MenuButton and IMenuLine classes.