Interface in constructor added.