Removes unnecessary scope