Add some checks for creating an inline formatter