Model defined as module