Fixed unicode encoding, added API calls.