Merge "Implement native compress API"