Adding level(object, object) method.