Changed autoaction method to private method.