Should this have been moved inside `ready()`?