Refactor: Use macros to declare and define system API addresses.