Added depth() method.
Updated method calls.