Consolidate functions into bmo