More general API prototyping.