Type systems for information flow control: the question of granularity