Fixing '[]' usage in types.