Removed duplicated main as no longer needed.