Added macro to simply flags stuff.