Tooset's methods moved to api.go