Remove obsolete code

Remove obsolete code. If use cases are found from active installations these functions can be taken into use with proper unit tests.