Use macro to clean up maze syntax