Cleaned up code by removing test function declarations.