Removing usemin blocks