ensure users can provide custom bootstrap hooks