Copy v1.0 from Google Code