Replace template with `bloom` submodule