Revive ModelMetadata.ShowForDisplay and ModelMetadata.ShowForEdit

Fixes #679