Added bootstrap init function.