Instantiated the class wrong.