Better bootstrap implementation.