[FML-743] Add check when accessing attributes.