made Function object public