Remove needless properties