UnusedStepDeclarationInspection reworked to use references instead of searching all the time