Working on a port from http://blog.circleci.com/adaptive-placeholders/.