Cleanup glhckm exported code