Add APC/APCu serializer hook