Simplifying the API for security and simplicity