Fixes #58. Update for CustomDeclarationOrderCheck.