Finalizing the tooltip class