Changed to match new api for cymunk