Remove deprecated syntax.