See https://github.com/GrahamCampbell/framework/commit/5b7355a50d0830bb818d394a44d0eeef0471ecda.