Debug to ensure compatibility with numpy < 1.7