The idea for the project was initially brought to Martin Scorsese and Leonardo DiCaprio by Emily Blunt and Dwayne Johnson.