Add support for event callbacks bootstrap.before and bootstrap.after