format method declarations