This really should return null instead of 0 here.