Removing unnecessary properties.