Utils module for models