Imported Skyhigh code.