Changes as per comments - better bearer extract. Clearer method names

doctests also work