Simplify the api