Trimming out unnececary definitions.