Maintains backwards compatability with the old compute API.