Changed classname and added getByData() method.