Make compatible with < 1.9.3