Added assertion for formatter