Pass srv instance explicitly