Removes some unused code.

Signed-off-by: Jim Teeuwen <jimteeuwen@gmail.com>