grep_scope now searches only inside definition blocks.