Added overridable function to overlay window. Exposed functions.