Utilities for modeling