Auto refill implemented.