Register bmp alias
Fix namespace problem