Branch class methods used, fixes issue #5