Removed contains check in constructor