Replaced formatting methods with the new, more flexible method.