Integration of BN functions.