Remove unused frame-related fields and methods.