Add support for trailing parameters.
Fix #1. All format parameters are handled.