(GX) Use inlined functions