Helpers for BH methods generation