Add an internal BMFS query function