To save memory, all of these function declarations should be on the ```prototype``` of the ```Overlay``` class.