Use some supported macros since direct access is deprecated later