First proposal for a client api