Updated API class Dept() method.