Adds external widget functionality.