Remove unused main methods