Added injecting to bmp.