compile attributes access

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>