Adding formatter registering and a base formatter