Removes unused members to get rid of warnings.