Added memory order hooks