Implement Action#format

#15