Adding lazy function to help with complex functions for promise and stream values.