Added apply to scheme.lib