Added more functions for libBRIC.