Remove deprecated attributes