Adding Default Format for styles

Allows a lambda to be passed to decide what format a style should
be processed as