Pretty-print object methods