Adding widget registration and output