further cleans up the host API