Added a thenRequire method to make chaining a bit slicker.