Fix finding definitions for background steps