index: Remove redundant type attributes and slashes