Remove unused code

Signed-off-by: Callum Macdonald <callum@redevolution.com>