Fixed NullPointerException; added new reject state.