Add type info for some attributes