Removed confusing (and unnecessary) main.