Refactoring expression constant value handling and adding support for default values to be based on model properties.