Added format method to chain