Added optional model attribute