Finished full API functionality.