Update with adding a provides and requires decorator for standalone function usage.