Removal of old unused code.

Authored by Petar Mataic <petar@petar.se> on Dec 18 2017, 7:04 PM.