Making models input aware with domain logic inside