Fix everything being completely broken. Oops.

Signed-off-by: Ross Allan <rallanpcl@gmail.com>