Remove unnecessary main methods