Add function-like object support for Story.