Remove partial functions from API