Removed two unused functions

These two functions were actually not usable and only a todo since ages. I think it's better to remove it than having dead and unmaintained code.

@tomneedham