Declared some methods, to cut down on compiler warnings.