Add basic API functionality