Adding get() method.