Some refactories.