Removed extra whitespace and references to Legend.