Fix #263 pass model to formatter methods