Moved methods for better readability.