Easier custom formatting for value types