Remove main methods introduced for testing