Bug fixing.
Writer for Longs and cost entries.