Added idea model and tests.