We need to export matrix lookup functions.