Improve testability by change the method to non-static.