Fix statement return object type