Issue #2194885 by Berdir | sun: Remove drupal_write_record().
Issue #2331079 by znerol, dawehner: Use RouteMatch in access-checks and remove RequestHelper::duplicate().