Add printing functions for models to ease debugging