Remove deprecated attributes.